package com.common.web.annotation;

import com.common.web.exception.CustomErrorController;
import com.common.web.exception.GlobalExceptionHandler;
import com.common.web.rest.GlobalRestTemplate;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @auther WuJun.Zhang
 * @date 2022/3/22 上午11:06
 */

@Inherited
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({GlobalExceptionHandler.class, GlobalRestTemplate.class, CustomErrorController.class})
public @interface EnableGlobalWeb {
}